//
//  HomeRecommendGoodsView.swift
//  HomeRecommendGoodsView
//
//  Created by Ben on 2021/8/19.
//

import SwiftUI
import SDWebImageSwiftUI

struct HomeRecommendGoodsView: View {
    
    @EnvironmentObject var homeVM: HomeViewModel
    
    var body: some View {
        
        VStack(spacing: 0) {
            
            HomeRecommendGoodsCategoryTabView()
            
            HomeRecommendGoodsListView()
        }
        .frame(width: SCREEN_WIDTH)
    }
}

struct HomeRecommendGoodsView_Previews: PreviewProvider {
    static var previews: some View {
        HomeRecommendGoodsListView()
            .environmentObject(HomeViewModel())
    }
}

